Skip to content

Conversation

topecongiro
Copy link
Contributor

Currently, rustfmt emits stdin: prefix unnecessarily on stdin mode:

$ rustfmt
fn main()
{}^D
stdin:

fn main() {}

This PR fixes it so that rustfmt no longer emits the prefix.

@topecongiro topecongiro merged commit 5f536d6 into rust-lang:master Jun 2, 2020
@topecongiro topecongiro deleted the fix-stdin branch June 2, 2020 02:57
@ytmimi
Copy link
Contributor

ytmimi commented Apr 3, 2022

I'm unable to reproduce this behavior on rustfmt 1.4.38-nightly (7d6ca7c3 2022-04-02). Does this need to be backported?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants